package org.zoomdy.gdbx.arch;

public class TargetRegistersI386 extends TargetRegisters
{
    public TargetRegistersI386()
    {
        super(16);

        this.arrayRegisters[0] = new Register("eax", 0, 4);
        this.arrayRegisters[1] = new Register("ecx", 4, 4);
        this.arrayRegisters[2] = new Register("edx", 8, 4);
        this.arrayRegisters[3] = new Register("ebx", 12, 4);
        this.arrayRegisters[4] = new Register("esp", 16, 4);
        this.arrayRegisters[5] = new Register("ebp", 20, 4);
        this.arrayRegisters[6] = new Register("esi", 24, 4);
        this.arrayRegisters[7] = new Register("edi", 28, 4);
        
        this.arrayRegisters[8] = new Register("eip", 32, 4);
        this.arrayRegisters[9] = new Register("eflags", 36, 4);
        this.arrayRegisters[10] = new Register("cs", 40, 4);
        this.arrayRegisters[11] = new Register("ss", 44, 4);
        this.arrayRegisters[12] = new Register("ds", 48, 4);
        this.arrayRegisters[13] = new Register("es", 52, 4);
        this.arrayRegisters[14] = new Register("fs", 56, 4);
        this.arrayRegisters[15] = new Register("gs", 60, 4);
    }
}
